//
//  LiftIMChatManager.h
//  AAIM
//
//  Created by awhMAC on 2019/12/21.
//  Copyright © 2019 AAIM. All rights reserved.
//

#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@class BTMessageModel;
@protocol LiftIMChatMangerDelegate <NSObject>
- (void)messagesDidReceive:(NSArray<BTMessageModel *> *_Nullable)messages;
@end
@interface LiftIMChatManager : NSObject
@property(nonatomic, strong) NSMutableArray *delegates;

- (void)addDelegate:(id<LiftIMChatMangerDelegate>)delegate;

- (void)removeDelegate:(id<LiftIMChatMangerDelegate>)delegate;

- (void)receivedMessages:(NSArray<BTMessageModel *> *)messages;

- (void)sendMessage:(BTMessageModel *)message complete:(void(^)(NSDictionary *info, NSError *error))complete;

@end

NS_ASSUME_NONNULL_END
